﻿@model AuditModel.AnnualEvent

@{
    ViewBag.Title =AuditResources.UI.PageTitle;
    Layout = "~/Views/Shared/Admin/_EventSettingLayout.cshtml";
    List<AuditModel.sp_GetSubjectsProgressReport_Result> subjectscoreprogress= ViewBag.ScoreProgress;
}

<h2>管理员首页</h2>
<h3>参赛学科组： <strong>@ViewBag.SubjectCount</strong> </h3>
<h3>  参赛区县： <strong>@ViewBag.CountyCount</strong> </h3>
<h3>学科组评委： <strong>@ViewBag.ExpertJudgeCount</strong> </h3>
<h3>  参赛档案： <strong>@ViewBag.ArchivesCount</strong>/<strong>@ViewBag.CandidateQuota</strong> </h3>
<br />
<fieldset>
<legend>学科组评分进度</legend>
@{
    WebGrid grid = new WebGrid(source: subjectscoreprogress, defaultSort: "CompletionPercent");
    }
@grid.GetHtml(
    columns: grid.Columns(
    grid.Column("SubjectName", AuditResources.Subject.ObjectName),
        grid.Column("CompletionPercent", "评分情况", format: @<text>@(string.Format("{0:F2}%", item.CompletionPercent))</text>)
    ))
</fieldset>

